<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> 
	<title>湖北省“互联网+放管服”展示平台</title>
    <link rel="stylesheet" href="../../js/css/screen/base.css">
    <link rel="stylesheet" href="../../js/css/screen/style.css">
    <link rel="stylesheet" href="../../js/css/screen/xxzyml1.css">

    <script src="../../js/screen/echarts.min.js"></script>
    <script src="../../js/screen/jquery-1.7.2.min.js"></script>
    <script src="../../js/screen/xxzyml2.js"></script>   
    <script src="../../js/screen/action.js"></script>  
    <style type="text/css">
    .mid_center{
		width:100%; 
		text-align:center;
		font-size: 35px;
		margin-left:220px
    }
    </style>
</head>
<body>
<div class="page_father">
<!--header start-->  
 
	<div class="header clearfix">
    <!--logo-->
    <h1 class="logo fl"></h1>
    <!--top menu-->
    <div class="menu_top fl">
      <ul>
        <li id="aindex"><a href="index.html"><span class="bg_lf"></span><span class="bg_mid">首页</span><span class="bg_rt"></span></a></li>
 
        <li id="acertifiedindex">
        <a href="certifiedindex.html"><span class="bg_lf"></span><span class="bg_mid">统一认证</span><span class="bg_rt"></span></a>
        </li>
        <li id="alicenseindex"><a href="licenseindex.html"><span class="bg_lf"></span><span class="bg_mid">电子证照</span><span class="bg_rt"></span></a></li>
        <li id="adirectory1"><a href="directory1.html" class="selted_a"><span class="bg_lf"></span><span class="bg_mid">资源目录</span><span class="bg_rt"></span></a></li>
        <li id="aexchange"><a href="exchange.html"><span class="bg_lf"></span><span class="bg_mid">共享交换</span><span class="bg_rt"></span></a></li>
        <li id="awwfg"><a href="wwfg.html"><span class="bg_lf"></span><span class="bg_mid">网络覆盖</span><span class="bg_rt"></span></a></li>
      </ul>
    </div>
    <!--top week-->
    <div class="top_week fl">
       <span id="week_data"></span><br><span id="today_data"></span>
    </div>
    <!--top time-->
    <!-- 
    <div class="top_time fl">
    	<span class="hour_time fl" id="hour_id" style="margin-left:15px;font-size:32px;"></span>
    	<span class="sed_time fl" id="min_id" style="margin-left:15px;font-size:32px;"></span>
    </div> -->
  </div> 
<!--header end-->
    <!--bodyer start-->
    <div class="bodyer">
        <!--footer-->
        <div class="footer"></div>
        <!--仪表盘主体内容-->
        <div class="bodyer_child_info clearfix">

     		<div class="td1050 pr">
        <!--内容--> 
        <h2 class="card_title">报送单位</h2>
        <div class="tips first">
           	<marquee direction="left" behavior="scroll" scrollamount="3" scrolldelay="2" loop="-1" width="900" height="50" hspace="5" vspace="5" onmouseover=this.stop() onmouseout=this.start()>
                   <ul class="ml_scroll" id="ulnewmu">
                   </ul>
           	</marquee>
        </div>
        <div class="tabletitle">
            <div class="fl f-40">省直部门<span style='color:#ff0066;'>TOP5</span></div>
            <div class="fr">
                <span>今日接收<span class="bigfont-red" id="provincecur"></span>条</span>&nbsp;&nbsp;&nbsp; 
            </div>
        </div>
        <div class="InfoTable">
            <table class="tableTop" id="ptable">
                <tr class="">
                    <th></th>
                    <th>部门</th>
                    <th>目录数</th>
                    <th>数据项</th>
                    <th>可共享数据项</th>
                </tr> 
                </table>
        </div>
        <div class="tabletitle">
            <div class="fl f-40">地市州<span style='color:#ff0066;'>TOP5</span></div>
            <div class="fr">
                <span>今日接收<span class="bigfont-red" id="citycur"></span>条</span>&nbsp;&nbsp;&nbsp; 
            </div>
        </div>
        <div class="InfoTable">
            <table class="tableTop" id="ctable">
                <tr class="">
                    <th></th>
                    <th>市州</th>
                    <th>目录数<!-- <em class="ph2"></em> --></th>
                    <th>数据项<!-- <em class="ph1"></em><em class="ph2"></em> --></th>
                    <th>可共享数据项<!-- <em class="ph1"></em><em class="ph2"></em> --></th>
                </tr>
            </table>
        </div>
    </div>
    
    <script type="text/javascript">

	// 信息资源目录 top 接口=======		START 	===========
	
	function receive_total(){
		var msg=[{"DSZ_ALL":7632,"SZ_TODAY":0,"SZ_ALL":2116,"DSZ_TODAY":43}];
	   // SZ_TODAY	省直部门今日接受数  DSZ_TODAY	地市州今日接受数 
	   $("#provincecur").html(msg[0].SZ_TODAY); 
	   $("#citycur").html(msg[0].DSZ_TODAY); 
	}
	receive_total();
	
	// 省信息资源目录 top5   resource_Directory
	function Getresource_Directory() {
	    var msg=[{"SHARE_COL_ITEM":3747,"ML_NUM":249,"TEXT":"省文化厅","COL_ITEM":3747},{"SHARE_COL_ITEM":3076,"ML_NUM":228,"TEXT":"省水利厅","COL_ITEM":3076},{"SHARE_COL_ITEM":3416,"ML_NUM":212,"TEXT":"省发改委","COL_ITEM":3416},{"SHARE_COL_ITEM":1303,"ML_NUM":134,"TEXT":"省国土资源厅","COL_ITEM":3717},{"SHARE_COL_ITEM":2842,"ML_NUM":124,"TEXT":"省交通运输厅","COL_ITEM":2842},{"SHARE_COL_ITEM":1699,"ML_NUM":102,"TEXT":"省安监局","COL_ITEM":1699},{"SHARE_COL_ITEM":83,"ML_NUM":83,"TEXT":"省体育局","COL_ITEM":758},{"SHARE_COL_ITEM":384,"ML_NUM":60,"TEXT":"省经信委","COL_ITEM":829},{"SHARE_COL_ITEM":4718,"ML_NUM":57,"TEXT":"省环保厅","COL_ITEM":4718},{"SHARE_COL_ITEM":918,"ML_NUM":57,"TEXT":"省农业厅","COL_ITEM":918},{"SHARE_COL_ITEM":902,"ML_NUM":53,"TEXT":"省教育厅","COL_ITEM":902},{"SHARE_COL_ITEM":400,"ML_NUM":51,"TEXT":"省财政厅","COL_ITEM":400},{"SHARE_COL_ITEM":519,"ML_NUM":49,"TEXT":"省住建厅","COL_ITEM":519},{"SHARE_COL_ITEM":757,"ML_NUM":49,"TEXT":"省新闻出版广电局","COL_ITEM":757},{"SHARE_COL_ITEM":582,"ML_NUM":43,"TEXT":"省商务厅","COL_ITEM":622},{"SHARE_COL_ITEM":736,"ML_NUM":41,"TEXT":"省司法厅","COL_ITEM":736},{"SHARE_COL_ITEM":332,"ML_NUM":41,"TEXT":"省人社厅","COL_ITEM":332},{"SHARE_COL_ITEM":482,"ML_NUM":33,"TEXT":"省地税局","COL_ITEM":482},{"SHARE_COL_ITEM":561,"ML_NUM":31,"TEXT":"省卫生计生委","COL_ITEM":592},{"SHARE_COL_ITEM":231,"ML_NUM":31,"TEXT":"省测绘局","COL_ITEM":231},{"SHARE_COL_ITEM":178,"ML_NUM":28,"TEXT":"省知识产权局","COL_ITEM":178},{"SHARE_COL_ITEM":468,"ML_NUM":28,"TEXT":"省质监局","COL_ITEM":468},{"SHARE_COL_ITEM":630,"ML_NUM":27,"TEXT":"省地质局","COL_ITEM":645},{"SHARE_COL_ITEM":459,"ML_NUM":27,"TEXT":"省民政厅","COL_ITEM":459},{"SHARE_COL_ITEM":369,"ML_NUM":24,"TEXT":"省机关事务管理局","COL_ITEM":369},{"SHARE_COL_ITEM":441,"ML_NUM":23,"TEXT":"省工商局","COL_ITEM":441},{"SHARE_COL_ITEM":206,"ML_NUM":22,"TEXT":"省政府采购中心","COL_ITEM":206},{"SHARE_COL_ITEM":319,"ML_NUM":21,"TEXT":"省食药监局","COL_ITEM":319},{"SHARE_COL_ITEM":94,"ML_NUM":21,"TEXT":"省信息中心","COL_ITEM":94},{"SHARE_COL_ITEM":321,"ML_NUM":20,"TEXT":"省公共资源管理局","COL_ITEM":321},{"SHARE_COL_ITEM":492,"ML_NUM":20,"TEXT":"省公安厅","COL_ITEM":492},{"SHARE_COL_ITEM":269,"ML_NUM":19,"TEXT":"省林业厅","COL_ITEM":276},{"SHARE_COL_ITEM":231,"ML_NUM":19,"TEXT":"省国资委","COL_ITEM":231},{"SHARE_COL_ITEM":236,"ML_NUM":12,"TEXT":"省粮食局","COL_ITEM":236},{"SHARE_COL_ITEM":61,"ML_NUM":12,"TEXT":"省外侨办","COL_ITEM":92},{"SHARE_COL_ITEM":121,"ML_NUM":11,"TEXT":"省扶贫办","COL_ITEM":121},{"SHARE_COL_ITEM":181,"ML_NUM":10,"TEXT":"省科技厅","COL_ITEM":181},{"SHARE_COL_ITEM":5,"ML_NUM":8,"TEXT":"省民宗委","COL_ITEM":8},{"SHARE_COL_ITEM":26,"ML_NUM":7,"TEXT":"省统计局","COL_ITEM":26},{"SHARE_COL_ITEM":151,"ML_NUM":7,"TEXT":"省人防办","COL_ITEM":151},{"SHARE_COL_ITEM":91,"ML_NUM":5,"TEXT":"省农垦局","COL_ITEM":91},{"SHARE_COL_ITEM":439,"ML_NUM":5,"TEXT":"省旅游委","COL_ITEM":439},{"SHARE_COL_ITEM":26,"ML_NUM":3,"TEXT":"省物价局","COL_ITEM":26},{"SHARE_COL_ITEM":21,"ML_NUM":3,"TEXT":"省南水北调管理局","COL_ITEM":21},{"SHARE_COL_ITEM":13,"ML_NUM":2,"TEXT":"省编办","COL_ITEM":13},{"SHARE_COL_ITEM":84,"ML_NUM":2,"TEXT":"省信用信息中心","COL_ITEM":84},{"SHARE_COL_ITEM":4,"ML_NUM":2,"TEXT":"省银监局","COL_ITEM":4},{"SHARE_COL_ITEM":0,"ML_NUM":0,"TEXT":"涉外调查机构资格认定及涉外社会调查项目审批","COL_ITEM":0},{"SHARE_COL_ITEM":0,"ML_NUM":0,"TEXT":"省审计厅","COL_ITEM":0},{"SHARE_COL_ITEM":0,"ML_NUM":0,"TEXT":"省移民局","COL_ITEM":0},{"SHARE_COL_ITEM":0,"ML_NUM":0,"TEXT":"省国防科工办","COL_ITEM":0},{"SHARE_COL_ITEM":0,"ML_NUM":0,"TEXT":"湖北省统计信息资源目录","COL_ITEM":0},{"SHARE_COL_ITEM":0,"ML_NUM":0,"TEXT":"省通信管理局","COL_ITEM":0}];
	   var str="";  
	   for(i=0;i<msg.length;i++) {
		  if(i>5){
			  break;
		  }
		  str+="<tr><td><p class='public  bgc"+(i+1)+"'>"+(i+1)+"</td><td>"+msg[i].TEXT+"</td><td>"+msg[i].ML_NUM+"</td><td>"+msg[i].COL_ITEM+"</td><td>"+msg[i].SHARE_COL_ITEM+"</td></tr>"; 
	   }
	   $("#ptable").append(str); 
	} 
	Getresource_Directory();	
	
	// 市州信息资源目录 top5   resource_Directory_City 
	function Getresource_Directory_City() { 
 	    var msg=[{"SHARE_COL_ITEM":45106,"ML_NUM":1590,"TEXT":"宜昌市","COL_ITEM":45121},{"SHARE_COL_ITEM":19769,"ML_NUM":1155,"TEXT":"襄阳市","COL_ITEM":19802},{"SHARE_COL_ITEM":16722,"ML_NUM":1083,"TEXT":"荆门市","COL_ITEM":16722},{"SHARE_COL_ITEM":11920,"ML_NUM":1059,"TEXT":"孝感市","COL_ITEM":12559},{"SHARE_COL_ITEM":15547,"ML_NUM":1011,"TEXT":"武汉市","COL_ITEM":15547},{"SHARE_COL_ITEM":1834,"ML_NUM":1008,"TEXT":"荆州市","COL_ITEM":1834},{"SHARE_COL_ITEM":9705,"ML_NUM":474,"TEXT":"咸宁市","COL_ITEM":9823},{"SHARE_COL_ITEM":2547,"ML_NUM":172,"TEXT":"十堰市","COL_ITEM":2639},{"SHARE_COL_ITEM":1117,"ML_NUM":82,"TEXT":"恩施州","COL_ITEM":1438},{"SHARE_COL_ITEM":70,"ML_NUM":5,"TEXT":"天门市","COL_ITEM":70},{"SHARE_COL_ITEM":0,"ML_NUM":0,"TEXT":"黄石市","COL_ITEM":0},{"SHARE_COL_ITEM":0,"ML_NUM":0,"TEXT":"神农架林区","COL_ITEM":0},{"SHARE_COL_ITEM":0,"ML_NUM":0,"TEXT":"黄冈市","COL_ITEM":0},{"SHARE_COL_ITEM":0,"ML_NUM":0,"TEXT":"潜江市","COL_ITEM":0},{"SHARE_COL_ITEM":0,"ML_NUM":0,"TEXT":"随州市","COL_ITEM":0},{"SHARE_COL_ITEM":0,"ML_NUM":0,"TEXT":"鄂州市","COL_ITEM":0},{"SHARE_COL_ITEM":0,"ML_NUM":0,"TEXT":"仙桃市","COL_ITEM":0}]; 
	   //  SHARE_COL_ITEM ML_NUM TEXT COL_ITEM 
	   var str="";  
	   for(i=0;i<msg.length;i++) {
		  if(i>5){
			  break;
		  }
		  str+="<tr><td><p class='public  bgc"+(i+1)+"'>"+(i+1)+"</td><td>"+msg[i].TEXT+"</td><td>"+msg[i].ML_NUM+"</td><td>"+msg[i].COL_ITEM+"</td><td>"+msg[i].SHARE_COL_ITEM+"</td></tr>"; 
	   }
	   $("#ctable").append(str); 
	} 
	Getresource_Directory_City();

	//  滚动窗口--目录 resourceNew
	function GetresourceNew() { 
 	    var msg=[{"TODAY":"孝感市","SZ":"DSZ","TEXT":"2018-07-13","RES_NUM":31}];
	   $("#ulnewmu").html("");
	   var str="";
	   for(i=0;i<msg.length;i++) {
		   str+="<li><span class=\"bigfont1\">"+msg[i].TEXT+"</span> "+msg[i].TODAY+" 上报 <span class=\"bigfont1\">"+msg[i].RES_NUM+"</span>条目录</li>";
	   }
	   $("#ulnewmu").html(str); 
	} 
	GetresourceNew();
	//	=================			END				=====================
		
 </script>
            
            <div class="td1674 pr">
            	<h1 class="card_mid_title">目录填报情况</h1>
                <ul class="list_right clearfix mgt-80">
                    <li>
                        <div class="jrIcon fl jrIcon1 boderColor1" id="childBtn"></div>
                        <div class="jrInfo fr">
                            <p class="f-20">目录总数</p>
                            <p class="bigfont" id="directory_sum"><span class="roll-num04"></span><em class="small">条</em></p>
                        </div>
                    </li>
                    <li>
                       <div class="clearfix">
                           <p class="first centertxt fl">省直机构</p>
                           <p class="bigfont1 fl" id="directory_pro"><em class="small">条</em></p>
                       </div>
                        <div class="clearfix mgt-10">
                            <p class="first centertxt fl">地市州</p>
                            <p class="bigfont1 fl" id="directory_city"><em class="small">条</em></p>
                        </div>
                    </li>
                    <li>
                        <div class="jrIcon fl jrIcon3 "></div>
                        <div class="jrInfo fr">
                            <p class="f-20">基础信息目录</p>
                            <p class="bigfont" id="base_Num"><em class="small">条</em></p>
                        </div>
                    </li>
                    <li>
                        <div class="jrIcon fl jrIcon4 "></div>
                        <div class="jrInfo fr">
                            <p class="f-20">主题信息目录</p>
                            <p  class="bigfont" id="theme_Num"><em class="small">条</em></p>
                        </div>
                    </li>
                    <li>
                        <div class="jrIcon fl jrIcon5 "></div>
                        <div class="jrInfo fr">
                            <p class="f-20">信息系统</p>
                            <p class="bigfont" id="info_Num"><em class="small">个</em></p>
                        </div>
                    </li>
                </ul>
                <div class="chart">
                    <ul class="charttab" id="charttab">
                        <li class="second" id="p_btn" onclick="Getprovince_Directory_Info();">省直部门</li>
                        <li class="second active" id="c_btn" onclick="city_Directory_Total();">地市州</li>
                    </ul>
                    <ul class="num">
                        <div class="third numinfo" id="dcity">
                        </div>
                        <li id="ddepartnum">
                        </li>
                        <li id="ddirectoryNum">
                        </li>
                        <li id="dresourcesNum">
                        </li>
                        <li id="dserverNum">
                        </li>
                    </ul>
                    <div class="map" id="map_div">
                        <div id="map" class="w100 h100"></div>
                    </div>
                    <div class="barchart" id="barchart_div">
                        <div id="barchart" class="w100 h100"></div>
                    </div> 
                    <div id="bar" class="w100 h100"></div> 
                </div>
            </div>
            
     		<div class="td1050 pr">
            <h2 class="card_title">资源挂接</h2>
           <div class="tips first">
           		<marquee direction="left" behavior="scroll" scrollamount="3" scrolldelay="2" loop="-1" width="900" height="50" hspace="5" vspace="5" onmouseover=this.stop() onmouseout=this.start()>
                    <ul class="ml_scroll" id="ulnewzy">
                    </ul>
            	</marquee>
           </div> 
              <div class="lefttop clearfix">
                  <ul class="clearfix rightinfo">
                     <li class="first">
                          <div class="fl home link"></div>
                          <div class="fl mgt-8 f-20">资源<br>挂接</div>
                      </li>
                      <li class="w-200">
                          <p>省直机构</p>
                          <p class="bigfont"><span class="roll-num10" id="pro_alltotal"></span><span class="small">条</span></p>
                      </li>
                      <li class="w-200">
                          <p>地市州机构</p>
                          <p class="bigfont"><span class="roll-num10" id="city_alltotal"></span><span class="small">条</span></p>
                      </li>
                  </ul>
              </div>
              
           <div class="pie">
               <div class="piechart fl">
                   <div id="pie" class="w100 h100"></div>
               </div>
               <ul class="pielist fl">
                  <li>
                      <div class="bgcpie1">库表</div>
                      <div class="bgcpie1txt" id="presourcessum"></div>
                  </li>
                  <li>
                      <div class="bgcpie2">文件</div>
                      <div class="bgcpie2txt" id="ptablesum"></div>
                  </li>
                  <li>
                      <div class="bgcpie3">接口</div>
                      <div class="bgcpie3txt" id="pinterfacesum"></div>
                  </li>
              </ul>
               <div class="piechart fl">
                   <div id="pie02" class="w100 h100"></div>
               </div>
               
               <ul class="pielist fl">
                   <li class="clearfix">
                       <div class="bgcpie1">库表</div>
                       <div class="bgcpie1txt" id="cresourcessum"></div>
                   </li>
                   <li class="clearfix">
                       <div class="bgcpie2">文件</div>
                       <div class="bgcpie2txt" id="ctablesum"></div>
                   </li>
                   <li class="clearfix">
                       <div class="bgcpie3">接口</div>
                       <div class="bgcpie3txt" id="cinterfacesum"></div>
                   </li>
               </ul>
               
           </div>
            <div class="line">
            	<ul class="mgl-404 charttab clearfix" id="charttab1">
                    <li class="second active" id="pro_second" onclick="earchInit(1);" >省直部门</li>
                    <li class="second" id="city_second" onclick="earchInit(2);">地市州</li>
                </ul>
                <div id="line" class="w100 h100"></div>
            </div>
       </div>
 		<input type="hidden" id="hidprovince" />
 		<input type="hidden" id="hidcity" />
		 <script type="text/javascript"> 
			// 信息资源挂接接口=======		START 	=========== 
			//  滚动窗口--目录  滚动窗口--资源 directoryNew
			function GetdirectoryNew() { 
				var msg=[{"TODAY":"2018-07-13","SZ":"DSZ","TEXT":"孝感市","RES_NUM":43}];
			   $("#ulnewzy").html("");
			   var str="";
			   for(i=0;i<msg.length;i++) {
				   str+="<li><span class=\"bigfont1\">"+msg[i].TEXT+"</span> "+msg[i].TODAY+" 挂接 <span class=\"bigfont1\">"+msg[i].RES_NUM+"</span>条资源</li>";
			   }
			   $("#ulnewzy").html(str);   
			} 
			GetdirectoryNew(); 

			//  库表文件接口  directoryNew
			function Getresources() { 
				var msg=[{"SZ_WJ":6,"DSZ_JK":408,"SZ_JK":120,"DSZ_WJ":1028,"SZ_KB":582,"DSZ_KB":5547}]; 
			   $("#presourcessum").html(msg[0].SZ_KB);  
			   $("#ptablesum").html(msg[0].SZ_WJ);  
			   $("#pinterfacesum").html(msg[0].SZ_JK);

			   $("#cresourcessum").html(msg[0].DSZ_KB);  
			   $("#ctablesum").html(msg[0].DSZ_WJ);  
			   $("#cinterfacesum").html(msg[0].DSZ_JK);
			   // {"SZ_WJ":6,"DSZ_JK":221,"SZ_JK":117,"DSZ_WJ":27,"SZ_KB":522,"DSZ_KB":2698}
				//var data=
			   $("#pro_alltotal").html(parseFloat(msg[0].SZ_KB)+parseFloat(msg[0].SZ_WJ)+parseFloat(msg[0].SZ_JK));
			   var maparr = [];
			   maparr[0]=eval("({name:'库表',value:"+msg[0].SZ_KB+"})"); 
			   maparr[1]=eval("({name:'文件',value:"+msg[0].SZ_WJ+"})");  
			   maparr[2]=eval("({name:'接口',value:"+msg[0].SZ_JK+"})");   

			   var maparr1 = [];
			   maparr1[0]=eval("({name:'库表',value:"+msg[0].DSZ_KB+"})"); 
			   maparr1[1]=eval("({name:'文件',value:"+msg[0].DSZ_WJ+"})");  
			   maparr1[2]=eval("({name:'接口',value:"+msg[0].DSZ_JK+"})");  
			   
			   $("#city_alltotal").html(parseFloat(msg[0].DSZ_KB)+parseFloat(msg[0].DSZ_WJ)+parseFloat(msg[0].DSZ_JK));
			   
				pieinitdata1(maparr);
				pieinitdata2(maparr1); 
			}  
			Getresources();
			
			earchInit(1);
			
			// 
			function resourcesByTimeProvince() {
				var msg=[{"INTERFACE_PUB_NUM":100,"DATE_VALUE":"2018-06-13","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":519},{"INTERFACE_PUB_NUM":102,"DATE_VALUE":"2018-06-14","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":520},{"INTERFACE_PUB_NUM":102,"DATE_VALUE":"2018-06-15","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":520},{"INTERFACE_PUB_NUM":102,"DATE_VALUE":"2018-06-16","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":520},{"INTERFACE_PUB_NUM":102,"DATE_VALUE":"2018-06-17","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":520},{"INTERFACE_PUB_NUM":102,"DATE_VALUE":"2018-06-18","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":520},{"INTERFACE_PUB_NUM":102,"DATE_VALUE":"2018-06-19","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":520},{"INTERFACE_PUB_NUM":102,"DATE_VALUE":"2018-06-20","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":520},{"INTERFACE_PUB_NUM":102,"DATE_VALUE":"2018-06-21","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":520},{"INTERFACE_PUB_NUM":102,"DATE_VALUE":"2018-06-22","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":520},{"INTERFACE_PUB_NUM":102,"DATE_VALUE":"2018-06-23","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":520},{"INTERFACE_PUB_NUM":102,"DATE_VALUE":"2018-06-24","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":520},{"INTERFACE_PUB_NUM":102,"DATE_VALUE":"2018-06-25","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":575},{"INTERFACE_PUB_NUM":102,"DATE_VALUE":"2018-06-26","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":576},{"INTERFACE_PUB_NUM":102,"DATE_VALUE":"2018-06-27","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":576},{"INTERFACE_PUB_NUM":102,"DATE_VALUE":"2018-06-28","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":576},{"INTERFACE_PUB_NUM":102,"DATE_VALUE":"2018-06-29","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":576},{"INTERFACE_PUB_NUM":102,"DATE_VALUE":"2018-06-30","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":576},{"INTERFACE_PUB_NUM":102,"DATE_VALUE":"2018-07-01","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":576},{"INTERFACE_PUB_NUM":102,"DATE_VALUE":"2018-07-02","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":576},{"INTERFACE_PUB_NUM":102,"DATE_VALUE":"2018-07-03","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":576},{"INTERFACE_PUB_NUM":102,"DATE_VALUE":"2018-07-04","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":576},{"INTERFACE_PUB_NUM":116,"DATE_VALUE":"2018-07-05","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":576},{"INTERFACE_PUB_NUM":116,"DATE_VALUE":"2018-07-06","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":576},{"INTERFACE_PUB_NUM":116,"DATE_VALUE":"2018-07-07","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":576},{"INTERFACE_PUB_NUM":116,"DATE_VALUE":"2018-07-08","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":576},{"INTERFACE_PUB_NUM":116,"DATE_VALUE":"2018-07-09","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":576},{"INTERFACE_PUB_NUM":120,"DATE_VALUE":"2018-07-10","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":579},{"INTERFACE_PUB_NUM":120,"DATE_VALUE":"2018-07-11","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":579},{"INTERFACE_PUB_NUM":120,"DATE_VALUE":"2018-07-12","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":579},{"INTERFACE_PUB_NUM":120,"DATE_VALUE":"2018-07-13","UNSTRUCTUR_PUB_NUM":6,"DATABASE_PUB_NUM":579}];

				var strdata0="";
				var strdata1="";
				var strdata2="";
				var strdata3="";
				for(i=0;i<msg.length;i++){
					strdata0+= msg[i].DATE_VALUE.substring(5)+",";
					strdata1+= msg[i].DATABASE_PUB_NUM+",";
					strdata2+= msg[i].UNSTRUCTUR_PUB_NUM+",";
					strdata3+= msg[i].INTERFACE_PUB_NUM+",";
				}

				strdata0 = strdata0.substring(0,strdata0.length-1);
				strdata1= strdata1.substring(0,strdata1.length-1);
				strdata2= strdata2.substring(0,strdata2.length-1);
				strdata3= strdata3.substring(0,strdata3.length-1);
				earchline(strdata0.split(","),eval("(["+strdata1+"])"),eval("(["+strdata2+"])"),eval("(["+strdata3+"])")) ; 
			}

			function resourcesByTimeCity() {
				var msg=[{"INTERFACE_PUB_NUM":373,"DATE_VALUE":"2018-06-13","UNSTRUCTUR_PUB_NUM":811,"DATABASE_PUB_NUM":4147},{"INTERFACE_PUB_NUM":373,"DATE_VALUE":"2018-06-14","UNSTRUCTUR_PUB_NUM":811,"DATABASE_PUB_NUM":4303},{"INTERFACE_PUB_NUM":373,"DATE_VALUE":"2018-06-15","UNSTRUCTUR_PUB_NUM":811,"DATABASE_PUB_NUM":4402},{"INTERFACE_PUB_NUM":373,"DATE_VALUE":"2018-06-16","UNSTRUCTUR_PUB_NUM":811,"DATABASE_PUB_NUM":4402},{"INTERFACE_PUB_NUM":373,"DATE_VALUE":"2018-06-17","UNSTRUCTUR_PUB_NUM":811,"DATABASE_PUB_NUM":4402},{"INTERFACE_PUB_NUM":373,"DATE_VALUE":"2018-06-18","UNSTRUCTUR_PUB_NUM":811,"DATABASE_PUB_NUM":4402},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-06-19","UNSTRUCTUR_PUB_NUM":811,"DATABASE_PUB_NUM":4405},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-06-20","UNSTRUCTUR_PUB_NUM":822,"DATABASE_PUB_NUM":4405},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-06-21","UNSTRUCTUR_PUB_NUM":822,"DATABASE_PUB_NUM":4471},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-06-22","UNSTRUCTUR_PUB_NUM":822,"DATABASE_PUB_NUM":4484},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-06-23","UNSTRUCTUR_PUB_NUM":822,"DATABASE_PUB_NUM":4484},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-06-24","UNSTRUCTUR_PUB_NUM":822,"DATABASE_PUB_NUM":4484},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-06-25","UNSTRUCTUR_PUB_NUM":822,"DATABASE_PUB_NUM":4791},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-06-26","UNSTRUCTUR_PUB_NUM":822,"DATABASE_PUB_NUM":4825},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-06-27","UNSTRUCTUR_PUB_NUM":822,"DATABASE_PUB_NUM":4880},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-06-28","UNSTRUCTUR_PUB_NUM":1026,"DATABASE_PUB_NUM":5069},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-06-29","UNSTRUCTUR_PUB_NUM":1026,"DATABASE_PUB_NUM":5088},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-06-30","UNSTRUCTUR_PUB_NUM":1026,"DATABASE_PUB_NUM":5088},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-07-01","UNSTRUCTUR_PUB_NUM":1026,"DATABASE_PUB_NUM":5088},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-07-02","UNSTRUCTUR_PUB_NUM":1026,"DATABASE_PUB_NUM":5098},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-07-03","UNSTRUCTUR_PUB_NUM":1026,"DATABASE_PUB_NUM":5137},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-07-04","UNSTRUCTUR_PUB_NUM":1026,"DATABASE_PUB_NUM":5137},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-07-05","UNSTRUCTUR_PUB_NUM":1026,"DATABASE_PUB_NUM":5154},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-07-06","UNSTRUCTUR_PUB_NUM":1026,"DATABASE_PUB_NUM":5255},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-07-07","UNSTRUCTUR_PUB_NUM":1026,"DATABASE_PUB_NUM":5255},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-07-08","UNSTRUCTUR_PUB_NUM":1026,"DATABASE_PUB_NUM":5255},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-07-09","UNSTRUCTUR_PUB_NUM":1026,"DATABASE_PUB_NUM":5355},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-07-10","UNSTRUCTUR_PUB_NUM":1026,"DATABASE_PUB_NUM":5356},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-07-11","UNSTRUCTUR_PUB_NUM":1026,"DATABASE_PUB_NUM":5453},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-07-12","UNSTRUCTUR_PUB_NUM":1026,"DATABASE_PUB_NUM":5508},{"INTERFACE_PUB_NUM":375,"DATE_VALUE":"2018-07-13","UNSTRUCTUR_PUB_NUM":1026,"DATABASE_PUB_NUM":5539}];
			    var strdata0="";
				var strdata1="";
				var strdata2="";
				var strdata3="";
				for(i=0;i<msg.length;i++){
					strdata0+= msg[i].DATE_VALUE+",";
					strdata1+= msg[i].DATABASE_PUB_NUM+",";
					strdata2+= msg[i].UNSTRUCTUR_PUB_NUM+",";
					strdata3+= msg[i].INTERFACE_PUB_NUM+",";
				}

				strdata0 = strdata0.substring(0,strdata0.length-1);
				strdata1= strdata1.substring(0,strdata1.length-1);
				strdata2= strdata2.substring(0,strdata2.length-1);
				strdata3= strdata3.substring(0,strdata3.length-1);
				earchline(strdata0.split(","),eval("(["+strdata1+"])"),eval("(["+strdata2+"])"),eval("(["+strdata3+"])")) ; 
			}
			
			function earchInit(status) {
				if(status=="1") {
					  $("#city_second").removeClass("second active");
					  $("#city_second").addClass("second");
					  $("#pro_second").removeClass("second");
					  $("#pro_second").addClass("second active");
					  resourcesByTimeProvince();
				}
				else {
					  $("#pro_second").removeClass("second active");
					  $("#pro_second").addClass("second"); 	
					  $("#city_second").removeClass("second");
					  $("#city_second").addClass("second active");
					  resourcesByTimeCity();
				} 
			}
			
			function earchline(opt4ydata,opt4sdata1,opt4sdata2,opt4sdata3) {
				var line = echarts.init(document.getElementById("line")); 
				var axisLabel = {
					lineStyle: {
						show:true,
						color: '#053A62'
					},
					interval: 0,
					rotate: 45, 
					margin: 2,
					textStyle: {
						fontSize: 13,
						color: '#357ACC'
					}
				};
				var axisLine = {
					lineStyle: {
						color: '#053A62',
						width: 0,
					}
				};
				var splitLine = {
					lineStyle: {
						color: '#053A62'
					}
				}; 
				var lineOption = {
					color: ['#01d4da','#019bd8','#d1045d'],
					title: { 
						textStyle: {
							color: '#00AEEF',
							fontWeight: 200,
							fontSize:56
						},
						x: 'center',
						y: 'top'
					},
					legend:{
						x:'75%',
						y:30,
						itemWidth:10,
						itemHeight:10,
						data:[{
							name : '库表',
							textStyle : {color:'#01d4da'}
						},{
							name : '文件',
							textStyle : {color:'#019bd8'}
						},{
							name : '接口',
							textStyle : {color:'#d1045d'}
						}]
					},
					grid: {
						x:20,
						y: 100,
						x2: 4,
						y2: 30,
						borderWidth: 1,
						borderColor:'#05345A',
						containLabel:true,
					},
					tooltip: {
						trigger: 'axis'
					},
					calculable: true,
					xAxis: [
						{
							type: 'category',
							axisTick:{length:0},
							splitLine: splitLine,
							axisLine: axisLine,
							axisLabel: axisLabel,
							data: opt4ydata
						} 
					],
					yAxis: [
						{
							type: 'value',
							boundaryGap: true,
							axisTick:{length:0},
							splitLine: splitLine,
							axisLine: axisLine,
							axisLabel: axisLabel,
							splitArea:{
								show:true,
								onGap:true,
								areaStyle:{
									color:['rgba(6,29,62,.3)',
										'rgba(6,29,62,.3)']}
							},
						}
					],
					series: [
						{
							name: '库表',
							type: 'line',
							smooth:true,
							data: opt4sdata1
						},
						{ 
							name: '文件',
							type: 'line',
							smooth:true,
							data: opt4sdata2
						},
						{
							name: '接口',
							type: 'line',
							smooth:true,
							data: opt4sdata3
						}
					]
				}; 
				line.setOption(lineOption);
			}
			  
			//	=================			END				=====================
				
		 </script>
            
            
        </div>
    </div>
    <!--header end-->

 	<script type="text/javascript">
	    // =======================    政务共享  START		======================
		// 目录总数 
		function Getdirectory_Total() {
	 	    var msg=[{"SZ_ML_NUM":2116,"DS_ML_NUM":7632}];
		           $("#directory_sum").html(parseFloat(msg[0].SZ_ML_NUM+msg[0].DS_ML_NUM).toLocaleString())
		           $("#directory_pro").html(parseFloat(msg[0].SZ_ML_NUM).toLocaleString()); 
		           $("#directory_city").html(parseFloat(msg[0].DS_ML_NUM).toLocaleString());  
		} 
		Getdirectory_Total();

		//	 信息资源目录--目录提供情况 directory_Info
		function Getdirectory_Info() {
	 	    var msg=[{"XXXT_NUM":690,"ZT_ML_NUM":1669,"JC_ML_NUM":460}];
		   $("#base_Num").html(msg[0].JC_ML_NUM)
		   $("#theme_Num").html(msg[0].ZT_ML_NUM); 
		   $("#info_Num").html(msg[0].XXXT_NUM);  
		} 
		Getdirectory_Info();

		//	信息资源目录--省直部门目录提供情况 province_Directory_Info
		function Getprovince_Directory_Info() {
	        $("#map_div").css("display","none"); // map_div barchart_div bar_div
	        $("#barchart_div").css("display","none");
	        $("#bar").css("display","block");

	        $("#dcity").css("display","none"); // dcity ddepartnum ddirectoryNum dresourcesNum dserverNum
	        $("#ddepartnum").css("display","none");
	        $("#ddirectoryNum").css("display","none");
	        $("#dresourcesNum").css("display","none");
	        $("#dserverNum").css("display","none");
	        
	    	   $("#dcity").css("display","none");
	    	   $("#ddepartnum").css("display","none");
	    	   $("#ddirectoryNum").css("display","none");
	    	   $("#dresourcesNum").css("display","none");
	    	   $("#dserverNum").css("display","none");
	    	   
			  $("#p_btn").removeClass("second"); 
			  $("#p_btn").addClass("second active");
			  $("#c_btn").removeClass("second active");
			  $("#c_btn").addClass("second");
			  
	 	    var msg=[{"ALL_COL":4718,"TEXT":"省环保厅","SHARE_COL":4718},{"ALL_COL":3747,"TEXT":"省文化厅","SHARE_COL":3747},{"ALL_COL":3717,"TEXT":"省国土资源厅","SHARE_COL":1303},{"ALL_COL":3416,"TEXT":"省发改委","SHARE_COL":3416},{"ALL_COL":3076,"TEXT":"省水利厅","SHARE_COL":3076},{"ALL_COL":2842,"TEXT":"省交通运输厅","SHARE_COL":2842},{"ALL_COL":1699,"TEXT":"省安监局","SHARE_COL":1699},{"ALL_COL":918,"TEXT":"省农业厅","SHARE_COL":918},{"ALL_COL":902,"TEXT":"省教育厅","SHARE_COL":902},{"ALL_COL":829,"TEXT":"省经信委","SHARE_COL":384},{"ALL_COL":758,"TEXT":"省体育局","SHARE_COL":83},{"ALL_COL":757,"TEXT":"省新闻出版广电局","SHARE_COL":757},{"ALL_COL":736,"TEXT":"省司法厅","SHARE_COL":736},{"ALL_COL":645,"TEXT":"省地质局","SHARE_COL":630},{"ALL_COL":622,"TEXT":"省商务厅","SHARE_COL":582},{"ALL_COL":592,"TEXT":"省卫生计生委","SHARE_COL":561},{"ALL_COL":519,"TEXT":"省住建厅","SHARE_COL":519},{"ALL_COL":492,"TEXT":"省公安厅","SHARE_COL":492},{"ALL_COL":482,"TEXT":"省地税局","SHARE_COL":482},{"ALL_COL":468,"TEXT":"省质监局","SHARE_COL":468},{"ALL_COL":459,"TEXT":"省民政厅","SHARE_COL":459},{"ALL_COL":441,"TEXT":"省工商局","SHARE_COL":441},{"ALL_COL":439,"TEXT":"省旅游委","SHARE_COL":439},{"ALL_COL":400,"TEXT":"省财政厅","SHARE_COL":400},{"ALL_COL":369,"TEXT":"省机关事务管理局","SHARE_COL":369},{"ALL_COL":332,"TEXT":"省人社厅","SHARE_COL":332},{"ALL_COL":321,"TEXT":"省公共资源管理局","SHARE_COL":321},{"ALL_COL":319,"TEXT":"省食药监局","SHARE_COL":319},{"ALL_COL":276,"TEXT":"省林业厅","SHARE_COL":269},{"ALL_COL":236,"TEXT":"省粮食局","SHARE_COL":236},{"ALL_COL":231,"TEXT":"省国资委","SHARE_COL":231},{"ALL_COL":231,"TEXT":"省测绘局","SHARE_COL":231},{"ALL_COL":206,"TEXT":"省政府采购中心","SHARE_COL":206},{"ALL_COL":181,"TEXT":"省科技厅","SHARE_COL":181},{"ALL_COL":178,"TEXT":"省知识产权局","SHARE_COL":178},{"ALL_COL":151,"TEXT":"省人防办","SHARE_COL":151},{"ALL_COL":121,"TEXT":"省扶贫办","SHARE_COL":121},{"ALL_COL":94,"TEXT":"省信息中心","SHARE_COL":94},{"ALL_COL":92,"TEXT":"省外侨办","SHARE_COL":61},{"ALL_COL":91,"TEXT":"省农垦局","SHARE_COL":91},{"ALL_COL":84,"TEXT":"省信用信息中心","SHARE_COL":84},{"ALL_COL":26,"TEXT":"省统计局","SHARE_COL":26},{"ALL_COL":26,"TEXT":"省物价局","SHARE_COL":26},{"ALL_COL":21,"TEXT":"省南水北调管理局","SHARE_COL":21},{"ALL_COL":13,"TEXT":"省编办","SHARE_COL":13},{"ALL_COL":8,"TEXT":"省民宗委","SHARE_COL":5},{"ALL_COL":4,"TEXT":"省银监局","SHARE_COL":4},{"ALL_COL":0,"TEXT":"省审计厅","SHARE_COL":0},{"ALL_COL":0,"TEXT":"湖北省统计信息资源目录","SHARE_COL":0},{"ALL_COL":0,"TEXT":"省移民局","SHARE_COL":0},{"ALL_COL":0,"TEXT":"省国防科工办","SHARE_COL":0},{"ALL_COL":0,"TEXT":"涉外调查机构资格认定及涉外社会调查项目审批","SHARE_COL":0},{"ALL_COL":0,"TEXT":"省通信管理局","SHARE_COL":0}];

		    	   var opt4ydata="";
		    	   var opt4sdata1="";
		    	   var opt4sdata2="";
		    	   var tmpj=0;
		    	   for(i=0;i<15;i++) { 
		    		   opt4ydata += msg[i].TEXT+",";
		    		   opt4sdata1 += msg[i].SHARE_COL+",";
		    		   opt4sdata2 += msg[i].ALL_COL+",";
		    	   }
		    	   opt4ydata = opt4ydata.substring(0,opt4ydata.length-1); 
		    	   opt4sdata1 = opt4sdata1.substring(0,opt4sdata1.length-1); 
		    	   opt4sdata2 = opt4sdata2.substring(0,opt4sdata2.length-1);  
		    	   earchbar(opt4ydata.split(","),opt4sdata1.split(","),opt4sdata2.split(","));
 
		} 

		function city_Directory_Total() {
	        $("#map_div").css("display","block"); // map_div barchart_div bar_div
	        $("#barchart_div").css("display","block");
	        $("#bar").css("display","none");
	        
	       $("#dcity").css("display","none");
    	   $("#ddepartnum").css("display","none");
    	   $("#ddirectoryNum").css("display","none");
    	   $("#dresourcesNum").css("display","none");
    	   $("#dserverNum").css("display","none");

			  $("#c_btn").removeClass("second");
			  $("#c_btn").addClass("second active");
			  $("#p_btn").removeClass("second active");
			  $("#p_btn").addClass("second");

	 	    var msg=[{"ML_NUM":1590,"TEXT":"宜昌市"},{"ML_NUM":1155,"TEXT":"襄阳市"},{"ML_NUM":1083,"TEXT":"荆门市"},{"ML_NUM":1059,"TEXT":"孝感市"},{"ML_NUM":1011,"TEXT":"武汉市"},{"ML_NUM":1008,"TEXT":"荆州市"},{"ML_NUM":474,"TEXT":"咸宁市"},{"ML_NUM":172,"TEXT":"十堰市"},{"ML_NUM":82,"TEXT":"恩施州"},{"ML_NUM":5,"TEXT":"天门市"},{"ML_NUM":0,"TEXT":"随州市"},{"ML_NUM":0,"TEXT":"黄石市"},{"ML_NUM":0,"TEXT":"潜江市"},{"ML_NUM":0,"TEXT":"仙桃市"},{"ML_NUM":0,"TEXT":"黄冈市"},{"ML_NUM":0,"TEXT":"神农架林区"},{"ML_NUM":0,"TEXT":"鄂州市"}];

		    		   var maparr = [];
		    		   var max=0;
			    	   var strtmp1=""; // "ML_NUM":1199,"TEXT":"宜昌市"
			    	   var strtmp2=""; 
			    	   for(i=0;i<msg.length;i++){
			    		   maparr[i]=eval("({name:'"+msg[i].TEXT+"',value:"+msg[i].ML_NUM+"})"); 

			    		   strtmp1 += msg[i].TEXT + "#$#";
			    		   strtmp2 += msg[i].ML_NUM + "#$#";
			    		   if(parseInt(max)<parseInt(msg[i].ML_NUM)) {
			    			   max=msg[i].ML_NUM;
			    		   }
			    	   }
			    	   max=parseInt((parseFloat(max))/100)*100+1000;
			   		   initmap(maparr,max); 
			   		   
			    	   strtmp1=strtmp1.substring(0,strtmp1.length-3);
			    	   strtmp2=strtmp2.substring(0,strtmp2.length-3);
			    	   barinit(strtmp1.split("#$#"),strtmp2.split("#$#"));
		}
		city_Directory_Total();

		
		// 跳转到资源信息目录详细界面
		function getcitydataUrl(city) {
	       $("#dcity").css("display","block"); 
 
    	   $("#ddepartnum").css("display","block");
    	   $("#ddirectoryNum").css("display","block");
    	   $("#dresourcesNum").css("display","block");
    	   $("#dserverNum").css("display","block");

			//	获取各地市州目录数
	 	    var msg;
		    		switch(city)
			{
				case "武汉市":
                    msg= [{"DEPT_NUM":53,"CODE_ID":"dec97fcc0ca74593b63aa014d9eb5f59","SHARE_COL_ITEM":15547,"ML_NUM":1011,"TEXT":"武汉市","COL_ITEM":11547}]
				  break;
			    case "孝感市":
                      msg=[{"DEPT_NUM":12,"CODE_ID":"dec97fcc0ca74593b63aa014d9eb5f59","SHARE_COL_ITEM":15548,"ML_NUM":1012,"TEXT":"孝感市","COL_ITEM":12547}]
				  break;
			    case "黄石市":
                      msg=[{"DEPT_NUM":45,"CODE_ID":"dec97fcc0ca74593b63aa014d9eb5f59","SHARE_COL_ITEM":15549,"ML_NUM":1013,"TEXT":"黄石市","COL_ITEM":13547}]
				  break;
			    case "鄂州市":
                      msg=[{"DEPT_NUM":66,"CODE_ID":"dec97fcc0ca74593b63aa014d9eb5f59","SHARE_COL_ITEM":15541,"ML_NUM":1055,"TEXT":"鄂州市","COL_ITEM":14547}]
				  break;
			    case "黄冈市":
                     msg= [{"DEPT_NUM":99,"CODE_ID":"dec97fcc0ca74593b63aa014d9eb5f59","SHARE_COL_ITEM":15542,"ML_NUM":1071,"TEXT":"黄冈市","COL_ITEM":15547}]
				  break;
				case "咸宁市":
                      msg=[{"DEPT_NUM":77,"CODE_ID":"dec97fcc0ca74593b63aa014d9eb5f59","SHARE_COL_ITEM":15543,"ML_NUM":1551,"TEXT":"咸宁市","COL_ITEM":15147}]
				  break;
			    case "荆州市":
                      msg=[{"DEPT_NUM":89,"CODE_ID":"dec97fcc0ca74593b63aa014d9eb5f59","SHARE_COL_ITEM":15544,"ML_NUM":1441,"TEXT":"荆州市","COL_ITEM":15247}]
				  break;
			    case "荆门市":
                      msg=[{"DEPT_NUM":34,"CODE_ID":"dec97fcc0ca74593b63aa014d9eb5f59","SHARE_COL_ITEM":15545,"ML_NUM":1331,"TEXT":"荆门市","COL_ITEM":15347}]
				  break;
				case "宜昌市":
                      msg=[{"DEPT_NUM":49,"CODE_ID":"dec97fcc0ca74593b63aa014d9eb5f59","SHARE_COL_ITEM":15517,"ML_NUM":1331,"TEXT":"宜昌市","COL_ITEM":15447}]
				  break;
				 case "襄阳市":
                      msg=[{"DEPT_NUM":21,"CODE_ID":"dec97fcc0ca74593b63aa014d9eb5f59","SHARE_COL_ITEM":15527,"ML_NUM":1881,"TEXT":"襄阳市","COL_ITEM":15547}]
				  break;
				 case "十堰市":
                      msg=[{"DEPT_NUM":78,"CODE_ID":"dec97fcc0ca74593b63aa014d9eb5f59","SHARE_COL_ITEM":15537,"ML_NUM":1981,"TEXT":"十堰市","COL_ITEM":15647}]
				  break;
				 case "随州市":
                      msg=[{"DEPT_NUM":57,"CODE_ID":"dec97fcc0ca74593b63aa014d9eb5f59","SHARE_COL_ITEM":15547,"ML_NUM":1311,"TEXT":"随州市","COL_ITEM":15747}]
				  break;
			   case "恩施州":
                      msg=[{"DEPT_NUM":51,"CODE_ID":"dec97fcc0ca74593b63aa014d9eb5f59","SHARE_COL_ITEM":15557,"ML_NUM":1221,"TEXT":"恩施州","COL_ITEM":15847}]
				  break;
				 case "神农架林区":
                      msg=[{"DEPT_NUM":37,"CODE_ID":"dec97fcc0ca74593b63aa014d9eb5f59","SHARE_COL_ITEM":15567,"ML_NUM":1661,"TEXT":"神农架林区","COL_ITEM":15507}]
				  break;
				 case "天门市":
                      msg=[{"DEPT_NUM":62,"CODE_ID":"dec97fcc0ca74593b63aa014d9eb5f59","SHARE_COL_ITEM":15577,"ML_NUM":1531,"TEXT":"天门市","COL_ITEM":15517}]
				  break;
				 case "潜江市":
                      msg=[{"DEPT_NUM":61,"CODE_ID":"dec97fcc0ca74593b63aa014d9eb5f59","SHARE_COL_ITEM":15587,"ML_NUM":1351,"TEXT":"潜江市","COL_ITEM":15527}]
				  break;
			   case "仙桃市":
                     msg= [{"DEPT_NUM":79,"CODE_ID":"dec97fcc0ca74593b63aa014d9eb5f59","SHARE_COL_ITEM":15597,"ML_NUM":1751,"TEXT":"仙桃市","COL_ITEM":15537}]
				  break;
			}
		    	   $("#dcity").html();
		    	   $("#ddepartnum").html();
		    	   $("#ddirectoryNum").html();
		    	   $("#dresourcesNum").html();
		    	   $("#dserverNum").html();
		    	   $("#dcity").html(city);
		    	   $("#ddepartnum").html("<p class='f-20'>部门数</p><p class='bigfont-red'>"+msg[0].DEPT_NUM+"<em class='small'>个</em></p>");
		    	   $("#ddirectoryNum").html("<p class='f-20'>目录总数</p><p class='bigfont-red'>"+msg[0].ML_NUM+"<em class='small'>条</em></p>");
		    	   $("#dresourcesNum").html("<p class='f-20'>数据项</p><p class='bigfont-red'>"+msg[0].COL_ITEM+"<em class='small'>个</em></p>");
		    	   $("#dserverNum").html("<p class='f-20'>可共享数据项</p><p class='bigfont-red'>"+msg[0].SHARE_COL_ITEM+"<em class='small'>个</em></p>");

 
			
	 	    //	获取地市州各部门单位目录数情况
			/*
	 	    $.ajax({
		       type: "GET",
		       dataType:"json",
		       url: "city_Directory_DepartByCity?city="+city,
		       //async: false,
		       data: "math="+Math.random()+"",
		       success: function(msg){
		    	   var strtmp1="";
		    	   var strtmp2=""; 
		    	   // [{"CODE_ID":"539480c4721241c7b1cff003bd71a01b","TEXT":"荆门市统计局","RES_NUM":520}
		    	   for(i=0;i<msg.length;i++){
		    		   strtmp1 += msg[i].TEXT + "#$#";
		    		   strtmp2 += msg[i].RES_NUM + "#$#"; 
		    	   }
		    	   strtmp1=strtmp1.substring(0,strtmp1.length-3);
		    	   strtmp2=strtmp2.substring(0,strtmp2.length-3); 
		    	   barinitcitydepart(strtmp1.split("#$#"),strtmp2.split("#$#"));
		       } 
		    });
			*/
		}
	</script>
</div>
</body>
</html>